package com.zzyl.mapper;

import com.zzyl.vo.NursingProjectPlanVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Description NursingProjectPlanMapper
 * @Author lifuyun
 * @Date 2024-08-27
 */
@Mapper
public interface NursingProjectPlanMapper {
    /**
     * 新增护理计划
     *
     * @param projectPlans
     */
    void insertNursingProjectPlan(List<NursingProjectPlanVo> projectPlans);

    /**
     * 根据项目计划id查询关联项目
     *
     * @param id
     * @return
     */
    List<NursingProjectPlanVo> selectById(Long id);

    /**
     * 根据护理计划id删除关联信息
     */
    void delectById(Long id);
}
